package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 打卡管理-参与用户领取表
 * @TableName activity_sign_ins_client_records
 */
@TableName(value ="activity_sign_ins_client_records")
@Data
public class ActivitySignInsClientRecords implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 打卡管理主表id
     */
    private Long activitySignInsId;

    /**
     * 打卡管理打卡规则表id
     */
    private Long activitySignInsRuleId;

    /**
     * 客户id
     */
    private String clientId;

    /**
     * 兑换奖品类型:[1优惠券、2礼包、3实体商品]
     */
    private Integer rewardType;

    /**
     * 奖品id
     */
    private Long rewardId;

    /**
     * 领取状态:[0失败、1成功、2未核销]
     */
    private Integer receiveState;

    /**
     * 领取时间
     */
    private Date receiveTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}